.class Lcom/example/m6wmr/MainActivity$12;
.super Ljava/lang/Thread;
.source "MainActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MainActivity;->getShopSource()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/MainActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MainActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    .line 943
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 22

    .prologue
    .line 945
    invoke-super/range {p0 .. p0}, Ljava/lang/Thread;->run()V

    .line 946
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6wmr/MainActivity;->tempshopls:Ljava/util/List;
    invoke-static/range {v19 .. v19}, Lcom/example/m6wmr/MainActivity;->access$6(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Ljava/util/List;->clear()V

    .line 948
    new-instance v11, Landroid/os/Message;

    invoke-direct {v11}, Landroid/os/Message;-><init>()V

    .line 950
    .local v11, "msg":Landroid/os/Message;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v19, v0

    const-string v20, "Appset"

    const/16 v21, 0x0

    invoke-virtual/range {v19 .. v21}, Lcom/example/m6wmr/MainActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v13

    .line 951
    .local v13, "preferences":Landroid/content/SharedPreferences;
    const-string v19, "APPindex"

    const-string v20, "1"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-interface {v13, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v16

    .line 952
    .local v16, "showtype":Ljava/lang/String;
    const-string v12, ""

    .line 954
    .local v12, "paramstr":Ljava/lang/String;
    new-instance v19, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v20, v0

    invoke-virtual/range {v20 .. v20}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v20

    invoke-static/range {v20 .. v20}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v20

    invoke-direct/range {v19 .. v20}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 955
    const-string v20, "/index.php?ctrl=app&action=newshop&lat="

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    .line 956
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v20, v0

    invoke-virtual/range {v20 .. v20}, Lmyapp/MyApp;->getLat()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    const-string v20, "&lng="

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v20, v0

    invoke-virtual/range {v20 .. v20}, Lmyapp/MyApp;->getLng()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    const-string v20, "&areaid="

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    .line 957
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v20, v0

    # getter for: Lcom/example/m6wmr/MainActivity;->areaid:Ljava/lang/String;
    invoke-static/range {v20 .. v20}, Lcom/example/m6wmr/MainActivity;->access$14(Lcom/example/m6wmr/MainActivity;)Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v0, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    const-string v20, "&datatype=json&shopopentype=2"

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    .line 954
    invoke-virtual/range {v19 .. v19}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v18

    .line 958
    .local v18, "url":Ljava/lang/String;
    const-string v19, "url--------------------------------"

    move-object/from16 v0, v19

    move-object/from16 v1, v18

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 960
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->m:Lmyapp/MyApp;

    move-object/from16 v19, v0

    invoke-static/range {v18 .. v19}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v17

    .line 964
    .local v17, "str":Ljava/lang/String;
    :try_start_0
    new-instance v10, Lorg/json/JSONObject;

    move-object/from16 v0, v17

    invoke-direct {v10, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 965
    .local v10, "json":Lorg/json/JSONObject;
    const-string v19, "error"

    move-object/from16 v0, v19

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    const-string v20, "true"

    invoke-virtual/range {v19 .. v20}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_0

    .line 967
    const-string v19, "msg"

    move-object/from16 v0, v19

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    iput-object v0, v11, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 968
    const/16 v19, 0x1

    move/from16 v0, v19

    iput v0, v11, Landroid/os/Message;->arg1:I

    .line 969
    sget-object v19, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    move-object/from16 v0, v19

    invoke-virtual {v0, v11}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 1069
    .end local v10    # "json":Lorg/json/JSONObject;
    :goto_0
    return-void

    .line 972
    .restart local v10    # "json":Lorg/json/JSONObject;
    :cond_0
    const-string v19, "msg"

    move-object/from16 v0, v19

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v19

    if-eqz v19, :cond_1

    .line 974
    const/16 v19, 0x2

    move/from16 v0, v19

    iput v0, v11, Landroid/os/Message;->arg1:I

    .line 975
    sget-object v19, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    move-object/from16 v0, v19

    invoke-virtual {v0, v11}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 1062
    .end local v10    # "json":Lorg/json/JSONObject;
    :catch_0
    move-exception v6

    .line 1064
    .local v6, "e":Lorg/json/JSONException;
    invoke-virtual {v6}, Lorg/json/JSONException;->printStackTrace()V

    .line 1066
    const/16 v19, 0x4

    move/from16 v0, v19

    iput v0, v11, Landroid/os/Message;->arg1:I

    .line 1067
    sget-object v19, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    move-object/from16 v0, v19

    invoke-virtual {v0, v11}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    .line 980
    .end local v6    # "e":Lorg/json/JSONException;
    .restart local v10    # "json":Lorg/json/JSONObject;
    :cond_1
    :try_start_1
    const-string v19, "msg"

    move-object/from16 v0, v19

    invoke-virtual {v10, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v9

    .line 981
    .local v9, "jarray":Lorg/json/JSONArray;
    const/4 v7, 0x0

    .local v7, "i":I
    :goto_1
    invoke-virtual {v9}, Lorg/json/JSONArray;->length()I

    move-result v19

    move/from16 v0, v19

    if-lt v7, v0, :cond_2

    .line 1060
    const/16 v19, 0x3

    move/from16 v0, v19

    iput v0, v11, Landroid/os/Message;->arg1:I

    .line 1061
    sget-object v19, Lcom/example/m6wmr/MainActivity;->h:Landroid/os/Handler;

    move-object/from16 v0, v19

    invoke-virtual {v0, v11}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    .line 982
    :cond_2
    new-instance v4, Lbean/ShopBean;

    invoke-direct {v4}, Lbean/ShopBean;-><init>()V

    .line 983
    .local v4, "bb":Lbean/ShopBean;
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 984
    const-string v20, "shopid"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    .line 983
    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShopId(Ljava/lang/String;)V

    .line 985
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 986
    const-string v20, "shopname"

    .line 985
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShopName(Ljava/lang/String;)V

    .line 987
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "juli"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setJuLi(Ljava/lang/String;)V

    .line 988
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 989
    const-string v20, "limitcost"

    .line 988
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setLimitCost(Ljava/lang/String;)V

    .line 990
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 991
    const-string v20, "sellcount"

    .line 990
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setSellcount(Ljava/lang/String;)V

    .line 992
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 993
    const-string v20, "shopimg"

    .line 992
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShopImg(Ljava/lang/String;)V

    .line 994
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 995
    const-string v20, "opentype"

    .line 994
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setOpenType(Ljava/lang/String;)V

    .line 996
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 997
    const-string v20, "sendtype"

    .line 996
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setsendtype(Ljava/lang/String;)V

    .line 999
    const-string v19, "opentype----->>>"

    invoke-virtual {v4}, Lbean/ShopBean;->getsendtype()Ljava/lang/String;

    move-result-object v20

    invoke-static/range {v19 .. v20}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 1000
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 1001
    const-string v20, "pscost"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    .line 1000
    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setpscost(Ljava/lang/String;)V

    .line 1003
    const-string v19, ">>>>>>>\u95b0\u5d89\u20ac\u4f7d\u5782<<<<<<<<<"

    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v20

    .line 1004
    const-string v21, "pscost"

    invoke-virtual/range {v20 .. v21}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v20

    .line 1003
    invoke-static/range {v19 .. v20}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 1006
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 1007
    const-string v20, "starttime"

    .line 1006
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setstarttime(Ljava/lang/String;)V

    .line 1008
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    .line 1009
    const-string v20, "arrivetime"

    .line 1008
    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setarrivetime(Ljava/lang/String;)V

    .line 1011
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "point"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setPoint(Ljava/lang/String;)V

    .line 1013
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "address"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setaddress(Ljava/lang/String;)V

    .line 1014
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "opentype"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setOpenType(Ljava/lang/String;)V

    .line 1015
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "starttime"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setPstime(Ljava/lang/String;)V

    .line 1016
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "shoptype"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setShoptype(Ljava/lang/String;)V

    .line 1017
    invoke-virtual {v9, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "cxinfo"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    .line 1018
    .local v3, "arraycx":Lorg/json/JSONArray;
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 1019
    .local v2, "activityBeans":Ljava/util/List;, "Ljava/util/List<Lbean/ShopdetActivityBean;>;"
    if-eqz v3, :cond_3

    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v19

    if-lez v19, :cond_3

    .line 1021
    const/4 v8, 0x0

    .local v8, "j":I
    :goto_2
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v19

    move/from16 v0, v19

    if-lt v8, v0, :cond_4

    .line 1054
    .end local v8    # "j":I
    :cond_3
    invoke-virtual {v4, v2}, Lbean/ShopBean;->setActivityBeans(Ljava/util/List;)V

    .line 1056
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6wmr/MainActivity;->tempshopls:Ljava/util/List;
    invoke-static/range {v19 .. v19}, Lcom/example/m6wmr/MainActivity;->access$6(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 981
    add-int/lit8 v7, v7, 0x1

    goto/16 :goto_1

    .line 1023
    .restart local v8    # "j":I
    :cond_4
    new-instance v15, Lbean/ShopdetActivityBean;

    invoke-direct {v15}, Lbean/ShopdetActivityBean;-><init>()V

    .line 1025
    .local v15, "shopdetActivityBean":Lbean/ShopdetActivityBean;
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "controltype"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 1026
    .local v5, "checketypeString":Ljava/lang/String;
    const-string v19, "1"

    move-object/from16 v0, v19

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_7

    .line 1027
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "name"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIsDiscount(Ljava/lang/String;)V

    .line 1039
    :cond_5
    :goto_3
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "name"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v15, v0}, Lbean/ShopdetActivityBean;->setName(Ljava/lang/String;)V

    .line 1040
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "imgurl"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v15, v0}, Lbean/ShopdetActivityBean;->setMigurl(Ljava/lang/String;)V

    .line 1043
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v19, v0

    const-string v20, "Appset"

    .line 1044
    const/16 v21, 0x0

    .line 1043
    invoke-virtual/range {v19 .. v21}, Lcom/example/m6wmr/MainActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v14

    .line 1045
    .local v14, "preferences1":Landroid/content/SharedPreferences;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v20, v0

    const-string v19, "mobilemodule"

    const-string v21, "0"

    move-object/from16 v0, v19

    move-object/from16 v1, v21

    invoke-interface {v14, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    if-eqz v19, :cond_a

    const-string v19, "mobilemodule"

    const-string v21, "0"

    move-object/from16 v0, v19

    move-object/from16 v1, v21

    invoke-interface {v14, v0, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    :goto_4
    move-object/from16 v0, v19

    move-object/from16 v1, v20

    iput-object v0, v1, Lcom/example/m6wmr/MainActivity;->mobilemodule:Ljava/lang/String;

    .line 1047
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity$12;->this$0:Lcom/example/m6wmr/MainActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6wmr/MainActivity;->mobilemodule:Ljava/lang/String;

    move-object/from16 v19, v0

    const-string v20, "2"

    invoke-virtual/range {v19 .. v20}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_6

    .line 1048
    invoke-interface {v2, v15}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 1021
    :cond_6
    add-int/lit8 v8, v8, 0x1

    goto/16 :goto_2

    .line 1029
    .end local v14    # "preferences1":Landroid/content/SharedPreferences;
    :cond_7
    const-string v19, "2"

    move-object/from16 v0, v19

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_8

    .line 1030
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "name"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIs_netpay(Ljava/lang/String;)V

    goto/16 :goto_3

    .line 1031
    :cond_8
    const-string v19, "3"

    move-object/from16 v0, v19

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_9

    .line 1032
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "name"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIsSubtract(Ljava/lang/String;)V

    goto/16 :goto_3

    .line 1033
    :cond_9
    const-string v19, "4"

    move-object/from16 v0, v19

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_5

    .line 1034
    invoke-virtual {v3, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "name"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Lbean/ShopBean;->setIsticket(Ljava/lang/String;)V

    goto/16 :goto_3

    .line 1045
    .restart local v14    # "preferences1":Landroid/content/SharedPreferences;
    :cond_a
    const-string v19, ""
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_4
.end method

.method public declared-synchronized start()V
    .locals 1

    .prologue
    .line 1072
    monitor-enter p0

    :try_start_0
    invoke-super {p0}, Ljava/lang/Thread;->start()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1073
    monitor-exit p0

    return-void

    .line 1072
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
